using System;
using Order.Domain.Enum;

namespace Order.Api.Read.Dto.Order
{
    /// <summary>
    /// 药品订单分页DTO
    /// </summary>
    public class DrugOrdersPageDto
    {
        /// <summary>
        /// 订单ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 订单编号
        /// </summary>
        public string? OrderNo { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 手机号（来自患者表）
        /// </summary>
        public string? Phone { get; set; }

        /// <summary>
        /// 收货人（患者姓名）
        /// </summary>
        public string? Consignee { get; set; }

        /// <summary>
        /// 订单金额
        /// </summary>
        public decimal? OrderAmount { get; set; }

        /// <summary>
        /// 订单状态
        /// </summary>
        public DrugOrderStatusEnum? OrderStatus { get; set; }

        /// <summary>
        /// 订单状态名称（枚举name）
        /// </summary>
        public string? OrderStatusName { get; set; }

        /// <summary>
        /// 患者ID
        /// </summary>
        public int? PatientId { get; set; }
    }
}